package mapper;

import java.util.List;

import org.apache.ibatis.annotations.Select;

import domain.Customer;

public interface CustomerMapper {
	@Select("select count(id) from customer")
	int getCount();
    int deleteByPrimaryKey(Long id);

    int insert(Customer record);

    Customer selectByPrimaryKey(Long id);

    List<Customer> selectAll();

    int updateByPrimaryKey(Customer record);

}